class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.column      :login,  						:string,   :null => false
      t.column      :crypted_password,  :string,   :null => false
			t.column 			:password_salt,			:string,   :null => false
      t.column      :firstname, 				:string
      t.column      :lastname, 				 	:string
      t.column      :email, 						:string,   :null => false
			t.column    	:persistence_token,	:string,   :null => false
      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end
